import Vue from 'vue'
import Router from 'vue-router'
import GoodsList from '@/components/GoodsList'
import Cart from '@/components/Cart';

Vue.use(Router)
export default new Router({
    routes: [{
        //mode: history,
        path: '/',
        name: 'GoodsList',
        component: GoodsList,
    }, {
        path: '/Cart',
        component: Cart
    }]
})